package com.googlecode.yoohoo.xmppcore.protocol.stanza.error;

import com.googlecode.yoohoo.xmppcore.protocol.XmlLangText;

public class BadRequest extends StanzaError {
	public BadRequest() {
		this(null);
	}
	
	public BadRequest(String text) {
		this(text, null);
	}
	
	public BadRequest(String text, String xmlLang) {
		super(ErrorType.MODIFY, "bad-request", text == null ? null : new XmlLangText(text, xmlLang));
	}
}
